package User.FunctionPkg;

import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.web.WebView;

import javax.swing.*;
import java.io.File;
import java.net.MalformedURLException;

import java.awt.Desktop;
import java.io.File;
import java.io.IOException;

public class VideoPlayer {
    public VideoPlayer(){
        File htmlFile = new File("images/video.html");
        try {
            Desktop.getDesktop().browse(htmlFile.toURI());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}